<?php

/*
 * Author: Quan Van Sinh
 * Email: qvsinh@yahoo.com
 */

/*
  $start = microtime ();
  $start = explode ( " ", $start );
  $start = $start [1] + $start [0];
 */


session_start();
error_reporting(1);

include "init.php";

include_once MODEL_DIR . 'action.class.php';
$action = new action();

$do = trim($_GET['do']);
switch ($do) {
    case 'delete-image-notify':
        $action->delete_image_notify();
        break;
    default:
		echo "no action!";
        break;
}

/*
  $end = microtime ();
  $end = explode ( " ", $end );
  $end = $end [1] + $end [0];
  printf ( "<br>Page was generated by PHP %s in %f seconds", phpversion (), $end - $start );
 */
?>
